<include file="Public:header" />
<!--会员列表-->
<div class="pad_lr_10" >
    <form name="searchform"  method="get" >
    <table width="100%" cellspacing="0" class="search_form">
        <tbody>
        <tr>
            <td>
            <div class="explain_col">
                <input type="hidden" name="m" value="Admin" />
                <input type="hidden" name="c" value="UserRecord" />
                <input type="hidden" name="a" value="index" />
                <input type="hidden" name="type" value="{$type}"/>
                <input type="hidden" name="menuid" value="{$menuid}" />
                &nbsp;&nbsp;会员名 :
                <input name="keyword" type="text" class="input-text" size="25" value="{$search.keyword}" />
                <input type="submit" name="search" class="btn" value="{:L('search')}" />
            </div>
            </td>
        </tr>
        </tbody>
    </table>
    </form>
    <div class="J_tablelist table_list" data-acturi="{:U('UserRecord/ajax_edit')}">
    <table width="100%" cellspacing="0">
        <thead>
            <tr>
                <th width=25><input type="checkbox" id="checkall_t" class="J_checkall"></th>
                <th><span data-tdtype="order_by" data-field="id">ID</span></th>
                <th width="100" align="left"><span data-tdtype="order_by" data-field="title">会员名</span></th>
                <th><span data-tdtype="order_by" data-field="cate_id">标题</span></th>
                <th><span data-tdtype="order_by" data-field="add_time">备注</span></th>
                <th align="80"><span data-tdtype="order_by" data-field="source">操作时间</span></th>
                <th width="80"><span data-tdtype="order_by" data-field="status">变动记录</span></th>
                <th width="80">{:L('operations_manage')}</th>
            </tr>
        </thead>
        <tbody>
            <volist name="list" id="val" >
            <tr>
                <td align="center"><input type="checkbox" class="J_checkitem" value="{$val.id}"></td>
                <td align="center">{$val.id}</td>
                <td align="left">{$val.username}</td>
                <td align="center">{$val.title}</td>
                <td align="center">{$val.memo}</td>
                <td align="center">{:date("Y-m-d H:i:s",$val['option_time'])}</td>
                <td align="center"><if condition="$val['type'] eq 1">{$val['point']}<else/>{$val['money']}</if></td>
                <td align="center">{:Z($options,$val['id'],$val['username'],$menuid)}</td>
            </tr>
            </volist>
        </tbody>
    </table>

    <div class="btn_wrap_fixed">
        <label class="select_all"><input type="checkbox" name="checkall" class="J_checkall">{:L('select_all')}/{:L('cancel')}</label>
    	<input type="button" class="btn" data-tdtype="batch_action" data-acttype="ajax" data-uri="{:U('UserRecord/delete')}" data-name="id" data-msg="{:L('confirm_delete')}" value="{:L('delete')}" />
        <div id="pages">{$page}</div>
    </div>
    </div>
</div>
<include file="Public:footer" />
<js file="__STATIC__/js/calendar/WdatePicker.js" charset="utf-8" />
<script>
$('.J_cate_select').cate_select({top_option:lang.all});
</script>
</body>
</html>
